package com.ruoyi.buss.grid.sh.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 网格商户概况
 * </p>
 *
 * @author SXY
 * @since 2020-08-12
 */
public class DataWgShsurvey extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 存款余额
	 */
	private BigDecimal ckye;

	/**
	 * 贷款余额
	 */
	private BigDecimal dkye;
	
	/**
	 * 存款户数
	 */
	private int ckhs;
	/**
	 * 贷款户数
	 */
	private int dkhs;
	/**
	 * 信用卡户数
	 */
	private int xykhs;
	
	/**
	 * 电子银行个数
	 */
	private int dzyhgs;
	/**
	 * 有效证件户数 
	 */
	private int yxzjhs;
	
	/**
	 * 有效签约金额
	 */
	private BigDecimal htje;
	
	/**
	 * 收银宝户数
	 */
	private Integer sybhs;

	/**
	 * 有效贷款户数
	 */
	private Integer yxdkhs;

	/**
	 * 预授信户数
	 */
	private Integer yshhs;

	/**
	 * 预授信金额
	 */
	private BigDecimal amount;

	/**
	 * 有产品户数 产品数>0
	 */
	private Integer productFamilyHs;

	/**
	 * 户数
	 */
	private Integer hs;

	/**
	 * 存款年日记
	 */
	private BigDecimal cknrj;

	/**
	 * 贷款年日均
	 */
	private BigDecimal dknrj;

	/**
	 * 有效户数 产品数>=3 且 （有效存款或贷款有其一） 有效存款：日均>=5000
	 */
	private Integer vaildFamilyHs;

	/**
	 * 授信签约户数 存在有效贷款合同
	 */
	private Integer familyQyhs;

	/**
	 * 产品覆盖面 有产品户数 /总户数
	 */
	private Double productCoverage;

	/**
	 * 有效覆盖面 有效户数/总户数
	 */
	private Double familyCoverage;

	/**
	 * 授信签约率 （存在有效贷款合)）户数 / 总户数
	 */
	private Double familyQyCoverage;

	private String userId;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public int getYxzjhs() {
		return yxzjhs;
	}

	public void setYxzjhs(int yxzjhs) {
		this.yxzjhs = yxzjhs;
	}

	public BigDecimal getHtje() {
		return htje;
	}

	public void setHtje(BigDecimal htje) {
		this.htje = htje;
	}

	private String sjrq;

	private String remark;
	
	private String orgId;

	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date createTime;

	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date updateTime;
	
	//=========================
	private String orgName;
	
	private String headPic;

	public BigDecimal getCkye() {
		return ckye;
	}

	public void setCkye(BigDecimal ckye) {
		this.ckye = ckye;
	}

	public BigDecimal getDkye() {
		return dkye;
	}

	public void setDkye(BigDecimal dkye) {
		this.dkye = dkye;
	}

	public Integer getSybhs() {
		return sybhs;
	}

	public void setSybhs(Integer sybhs) {
		this.sybhs = sybhs;
	}

	public Integer getYxdkhs() {
		return yxdkhs;
	}

	public void setYxdkhs(Integer yxdkhs) {
		this.yxdkhs = yxdkhs;
	}

	public Integer getYshhs() {
		return yshhs;
	}

	public void setYshhs(Integer yshhs) {
		this.yshhs = yshhs;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getProductFamilyHs() {
		return productFamilyHs;
	}

	public void setProductFamilyHs(Integer productFamilyHs) {
		this.productFamilyHs = productFamilyHs;
	}

	public Integer getHs() {
		return hs;
	}

	public void setHs(Integer hs) {
		this.hs = hs;
	}

	public BigDecimal getCknrj() {
		return cknrj;
	}

	public void setCknrj(BigDecimal cknrj) {
		this.cknrj = cknrj;
	}

	public BigDecimal getDknrj() {
		return dknrj;
	}

	public void setDknrj(BigDecimal dknrj) {
		this.dknrj = dknrj;
	}

	public Integer getVaildFamilyHs() {
		return vaildFamilyHs;
	}

	public void setVaildFamilyHs(Integer vaildFamilyHs) {
		this.vaildFamilyHs = vaildFamilyHs;
	}

	public Integer getFamilyQyhs() {
		return familyQyhs;
	}

	public void setFamilyQyhs(Integer familyQyhs) {
		this.familyQyhs = familyQyhs;
	}

	public Double getProductCoverage() {
		return productCoverage;
	}

	public void setProductCoverage(Double productCoverage) {
		this.productCoverage = productCoverage;
	}

	public Double getFamilyCoverage() {
		return familyCoverage;
	}

	public void setFamilyCoverage(Double familyCoverage) {
		this.familyCoverage = familyCoverage;
	}

	public Double getFamilyQyCoverage() {
		return familyQyCoverage;
	}

	public void setFamilyQyCoverage(Double familyQyCoverage) {
		this.familyQyCoverage = familyQyCoverage;
	}

	public String getSjrq() {
		return sjrq;
	}

	public void setSjrq(String sjrq) {
		this.sjrq = sjrq;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public int getCkhs() {
		return ckhs;
	}

	public void setCkhs(int ckhs) {
		this.ckhs = ckhs;
	}

	public int getDkhs() {
		return dkhs;
	}

	public void setDkhs(int dkhs) {
		this.dkhs = dkhs;
	}

	public int getXykhs() {
		return xykhs;
	}

	public void setXykhs(int xykhs) {
		this.xykhs = xykhs;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public int getDzyhgs() {
		return dzyhgs;
	}

	public void setDzyhgs(int dzyhgs) {
		this.dzyhgs = dzyhgs;
	}

	public String getHeadPic() {
		return headPic;
	}

	public void setHeadPic(String headPic) {
		this.headPic = headPic;
	}

	@Override
	public String toString() {
		return "DataWgShsurvey [ckye=" + ckye + ", dkye=" + dkye + ", ckhs=" + ckhs + ", dkhs=" + dkhs + ", xykhs="
				+ xykhs + ", dzyhgs=" + dzyhgs + ", sybhs=" + sybhs + ", yxdkhs=" + yxdkhs + ", yshhs=" + yshhs
				+ ", amount=" + amount + ", productFamilyHs=" + productFamilyHs + ", hs=" + hs + ", cknrj=" + cknrj
				+ ", dknrj=" + dknrj + ", vaildFamilyHs=" + vaildFamilyHs + ", familyQyhs=" + familyQyhs
				+ ", productCoverage=" + productCoverage + ", familyCoverage=" + familyCoverage + ", familyQyCoverage="
				+ familyQyCoverage + ", sjrq=" + sjrq + ", remark=" + remark + ", orgId=" + orgId + ", createTime="
				+ createTime + ", updateTime=" + updateTime + ", orgName=" + orgName + ", headPic=" + headPic + "]";
	}

}
